/**
 * @author	chenc
 * @version	1.0
 * @date	2015.9.24
 *
 * @file	rtspServer/h264streamsource.h
 * @brief	为h264提供直接源
 *
 * 提供直接源
 */


#ifndef RTSPSERVER_H264STREAMSOURCE_H
#define RTSPSERVER_H264STREAMSOURCE_H


#include "sct/core/common.h"
#include "sct/core/mutex.h"
#include "sct/rtspserver/serverinterface.h"
#include "sct/rtspserver/streamsource.h"


namespace sct
{

class CH264StreamSource: public CStreamSource
{
public:
	CH264StreamSource(CServerInterface * server);
	virtual ~CH264StreamSource();

protected:
	virtual void onPutData(const void*p, const int len, const int64_t pts);

private:

};


}//end namespace

#endif
